package cn.iocoder.yudao.module.booking.controller.admin.course.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 预约管理新增/修改 Request VO")
@Data
public class CourseSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "课程编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "课程编号不能为空")
    private Long courseInfoId;

    @Schema(description = "预约人手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "预约人手机号不能为空")
    private String bookingPhone;

    @Schema(description = "预约人姓名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "预约人姓名不能为空")
    private String bookingName;

    @Schema(description = "预约状态(0取消，1成功)")
    private Integer status;

}